package cn.com.api.mapper.base;

import java.util.List;

import org.apache.ibatis.annotations.*;

import cn.com.api.entity.ApiT_brand;

//DAO
public interface T_brandMapperBase {

	// 根据id查看
	public ApiT_brand findT_brandById(Integer brand_id);

	// 查看数据集
	public List<ApiT_brand> findT_brands();

	// 添加
	public int insertT_brand(ApiT_brand t_brand);

	// 修改
	public int updateT_brand(ApiT_brand t_brand);

	// 删除
	@Delete("DELETE FROM t_brand  WHERE brand_id = #{brand_id}")
	public int deleteT_brand(Integer brand_id);

}
